package com.zrx.govern.component.easyexcel.starter.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Excel字段校验
 *
 * @author zhangxiaowei
 * @version V2.0
 */
@Getter
@AllArgsConstructor
public enum ValidEnum {


    /**
     * 长度校验
     */
    LENGTH_CHECK(0, "长度校验"),

    /**
     * 正则表达式校验
     */
    REGEXP_CHECK(1, "正则校验"),

    /**
     * 字典值校验
     */
    DICTIONARY_CHECK(2, "字典值校验"),

    /**
     * 日期校验
     */
    DATEFORMAT_CHECK(3, "日期校验"),

    /**
     * 非空校验
     */
    NON_NULL_CHECK(4, "非空校验"),

    /**
     * 数值校验
     */
    NUMERICAL(5, "数值校验"),

    /**
     * 业务校验
     */
    BUSINESS_CHECK(6, "业务校验");

    private Integer code;
    private String desc;
}
